#pragma once
#include "stdafx.h"
/*
File Format
DATA
--Number
--Undefined
--Undefined
--Undefined
name path ... name path ...
*/

class Component;

class ResourceMapping : public Component
{
private:
	ResourceMapping();
	ResourceMapping(const ResourceMapping&);
	
public:
	struct ResMapStr
	{
		int number;
		void* data;
	};

	typedef boost::shared_ptr<ResourceMapping> sPtr;
	typedef std::map<string,string> ResNameToPath;
	ResourceMapping(string);
	~ResourceMapping(void);

	void AddedToObject();
	void Initial(string);
	void GetPath(const Message&);
	string GetPath(string);
private:
	ResNameToPath m_mapping;
};

